GtkAdjustment: Animated updates
authorMatthias Clasen <mclasen@redhat.com>
Mon, 30 Jun 2014 22:09:50 +0000 (18:09 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 30 Jun 2014 22:09:50 +0000 (18:09 -0400)
commita090f5892248612089d3d655dcb746c755ba962b
tree71f75028f63fccce80667d86aa339c7387f79c23
parent5a548106b0b724530f8ea4f236c9b543d432db01
GtkAdjustment: Animated updates

Add a private API that lets widget opt-in to animated updates of
the adjustment value. When enabled, all calls to
gtk_adjustment_set_value will smoothly transition from the old
value to the new value, using a fixed easing function and a
configurable duration. The animation is tied to the frame clock
of the widget.

By implementing this in GtkAdjustment, we can enable animation
for both scrollbars and keybindings, which are often implemented
in the child widget of the scrolled window.

https://bugzilla.gnome.org/show_bug.cgi?id=732376
gtk/Makefile.am
gtk/gtkadjustment.c
gtk/gtkadjustmentprivate.h [new file with mode: 0644]